package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@TableName("integral_detail")
@NoArgsConstructor
@AllArgsConstructor
public class IntegralDetailDomain extends BaseDomain {
    private String name;

    private Integer integral;

    /**
     * 来源类型
     */
    private Integer type;

    /**
     * 失效时间
     */
    private LocalDateTime expireTime;

    /**
     * 状态（正常，已过期，已完成）
     */
    private Integer status;

    /**
     * 用户id
     */
    private Long userId;
}
